<?php
/* @var $this EmergencyLightController */
/* @var $model EmergencyLight */
/* @var $form CActiveForm */
?>

<div class="wide form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>

	<div class="row">
		<?php echo $form->label($model,'id'); ?>
		<?php echo $form->textField($model,'id'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'automatic_emergency_light_provided'); ?>
		<?php echo $form->textField($model,'automatic_emergency_light_provided'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'source_of_power'); ?>
		<?php echo $form->textField($model,'source_of_power',array('size'=>6,'maxlength'=>6)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'other'); ?>
		<?php echo $form->textArea($model,'other',array('rows'=>6, 'cols'=>50)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'no_of_unit_per_floor'); ?>
		<?php echo $form->textField($model,'no_of_unit_per_floor'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'located_at_stairway_landing'); ?>
		<?php echo $form->textArea($model,'located_at_stairway_landing',array('rows'=>6, 'cols'=>50)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'operational'); ?>
		<?php echo $form->textField($model,'operational'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'exit_path_properly_illuminated'); ?>
		<?php echo $form->textField($model,'exit_path_properly_illuminated'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'tested_monthly'); ?>
		<?php echo $form->textField($model,'tested_monthly'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'inspection_id'); ?>
		<?php echo $form->textField($model,'inspection_id'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton('Search'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- search-form -->